package com.zhitong.ztblog.services;

import com.zhitong.ztblog.entity.User;
import com.zhitong.ztblog.utils.AjaxResponse;

public interface IUserService {

    public User findByUsername(String username);

    public User findById(int id);

    public void insertUser(User user);

    public AjaxResponse login(User user) throws Exception;

    public void updateUser(User user);


}
